package com.lanou3g.hw0408;

/**
 * Created by dllo on 18/4/8.
 */
public class Lion {
    private String color;
    private double weight;
    private double height;

    public Lion() {
    }

    public Lion(String color, double weight, double height) {
        this.color = color;
        this.height = height;
        this.weight = weight;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public void run() {
        System.out.println("一只"+color+weight+"公斤,"+height+",米"+"的狮子在奔跑");
    }
}
